#include <windows.h>

#include <winsock2.h>


BOOL AfxSocketInit( WSADATA* lpwsaData = NULL )
{
    WORD wVersionRequested = MAKEWORD( 2, 2 );

    return (WSAStartup(wVersionRequested, lpwsaData) == 0);
}
